# !/usr/bin/env python
# -*-coding:utf-8 -*-

"""
# File       : debug_talk.py
# Time       ：2023/6/8 15:42
# Author     ：周豪权
"""
import datetime
import time

import yaml

class DebugTalk:

    #读取extract.yaml
    def read_extract(self,key) -> dict :
        with open('./extract.yaml', mode="r",encoding='gbk') as file:
            yaml_data = yaml.load(file, Loader=yaml.FullLoader)
            # print(type(data))
        return yaml_data[key]


    #随机数
    def get_time(self):
        return str(int(time.time()))

    def token(self):
        return '11'

    def tok(self,a,b):

        return(int(a)+int(b))

    def today(self):
        today = datetime.datetime.now().strftime('%Y-%m-%d')
        return today

    def tomorrow(self):
        today = datetime.date.today()
        tomorrow = today + datetime.timedelta(days=1)
        return tomorrow

    def month(self):
        month = datetime.datetime.now().strftime('%Y-%m')
        return month




# exec
if __name__ == '__main__':
    a = DebugTalk().tomorrow()
    print(a)

